
/* Animations */
@keyframes blob {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(1.1);
    }

    66% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in-down {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes text-gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes scroll-indicator {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translateY(8px);
        opacity: 0;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Animation classes */
.animate-blob {
    animation: blob 7s infinite;
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in-down {
    animation: fade-in-down 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.animate-text-gradient-shift {
    background-size: 200% auto;
    animation: text-gradient-shift 5s infinite ease-in-out;
}

.animate-scroll-indicator {
    animation: scroll-indicator 2s ease-in-out infinite;
}

/* Animation delays */
.animation-delay-500 {
    animation-delay: 0.5s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Particle effects */
.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

.particle-1 {
    width: 10px;
    height: 10px;
    background-color: #FF1493;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    width: 15px;
    height: 15px;
    background-color: #00BFFF;
    top: 40%;
    left: 60%;
    animation-delay: 1s;
}

.particle-3 {
    width: 8px;
    height: 8px;
    background-color: #FF1493;
    top: 70%;
    left: 30%;
    animation-delay: 2s;
}

.particle-4 {
    width: 12px;
    height: 12px;
    background-color: #00BFFF;
    top: 30%;
    left: 80%;
    animation-delay: 3s;
}

.particle-5 {
    width: 7px;
    height: 7px;
    background-color: #FF1493;
    top: 60%;
    left: 10%;
    animation-delay: 4s;
}

/* Background patterns */
.bg-grid-pattern {
    background-image: radial-gradient(circle, #000 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Typewriter effect for mobile */
.typewriter-container {
    display: inline-block;
    position: relative;
}

.typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #FF1493;
    width: 0;
    animation: typewriter 3s steps(28) 1s forwards;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced responsive design */
@media (max-width: 640px) {
    .hero-heading {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

/* Medium device adjustments */
@media (min-width: 641px) and (max-width: 1023px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Small device adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Tighten up spacing on small screens */
    .py-24 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .gap-y-12 {
        row-gap: 2rem;
    }

    /* Ensure buttons don't get too cramped */
    .gap-3>* {
        margin-bottom: 0.5rem;
    }
}

/* Touch device improvements */
@media (hover: none) {

    /* Enhance tap targets on touch devices */
    button,
    a {
        min-height: 44px;
    }
}